package org.sdp.pearproject.dao.mapper;

import org.sdp.pearproject.dao.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: OrganizationMapper
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-04
 * @Version: 1.0
 * Table: pear_organization
 * Comment:
 * 组织表
 */
public interface OrganizationMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByCode(String code);

    int deleteByExample(OrganizationExample example);

    int insert(OrganizationWithBLOBs record);

    int insertSelective(OrganizationWithBLOBs record);

    List<OrganizationWithBLOBs> selectByExampleWithBLOBs(OrganizationExample example);

    List<Organization> selectByExample(OrganizationExample example);

    int countByExample(OrganizationExample example);

    Organization selectByPrimaryKey(Integer id);

    OrganizationWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    Organization selectById(Integer id);

    OrganizationWithBLOBs selectByIdWithBLOBs(Integer id);

    Organization selectByCode(String code);

    OrganizationWithBLOBs selectByCodeWithBLOBs(String code);

    int updateByExampleSelective(@Param("record") OrganizationWithBLOBs record, @Param("example") OrganizationExample example);

    int updateByPrimaryKeySelective(OrganizationWithBLOBs record);

    int updateByIdSelective(OrganizationWithBLOBs record);

    int updateByCodeSelective(OrganizationWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(OrganizationWithBLOBs record);

    int updateByPrimaryKey(Organization record);

    int updateById(Organization record);

    int updateByIdWithBLOBs(OrganizationWithBLOBs record);

}
